<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C# API Reference for Windows: JCSDK.JCNet.JCNet类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C# API Reference for Windows
   &#160;<span id="projectnumber">2.3.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_j_c_s_d_k.html">JCSDK</a></li><li class="navelem"><a class="el" href="namespace_j_c_s_d_k_1_1_j_c_net.html">JCNet</a></li><li class="navelem"><a class="el" href="class_j_c_s_d_k_1_1_j_c_net_1_1_j_c_net.html">JCNet</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#properties">属性</a> &#124;
<a href="class_j_c_s_d_k_1_1_j_c_net_1_1_j_c_net-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">JCSDK.JCNet.JCNet类 参考<div class="ingroups"><a class="el" href="group___xE7_xBD_x91_xE7_xBB_x9C_xE6_xA8_xA1_xE5_x9D_x97.html">网络模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:ga88ec0f1692b8321fc5886df641fc0981"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE7_xBD_x91_xE7_xBB_x9C_xE6_xA8_xA1_xE5_x9D_x97.html#ga88ec0f1692b8321fc5886df641fc0981">NetType</a> { <a class="el" href="group___xE7_xBD_x91_xE7_xBB_x9C_xE6_xA8_xA1_xE5_x9D_x97.html#gga88ec0f1692b8321fc5886df641fc0981a084f4ca2c0fe703e46514a144b4d6ead">NetType.UNAVAILABLE</a>, 
<a class="el" href="group___xE7_xBD_x91_xE7_xBB_x9C_xE6_xA8_xA1_xE5_x9D_x97.html#gga88ec0f1692b8321fc5886df641fc0981a696b031073e74bf2cb98e5ef201d4aa3">NetType.UNKNOWN</a>
 }</td></tr>
<tr class="separator:ga88ec0f1692b8321fc5886df641fc0981"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:af233724f6671f5ba02ad4c39acad57e6"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_net_1_1_j_c_net.html#af233724f6671f5ba02ad4c39acad57e6">InternetGetConnectedState</a> (ref int lpdwFlags, int dwReserved)</td></tr>
<tr class="separator:af233724f6671f5ba02ad4c39acad57e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a860672e5d4d38b4f89677d787d5a3d1d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_net_1_1_j_c_net.html#a860672e5d4d38b4f89677d787d5a3d1d">updateNetType</a> ()</td></tr>
<tr class="separator:a860672e5d4d38b4f89677d787d5a3d1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:afec8f8231f05a9ba124b3976f01308cb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_j_c_s_d_k_1_1_j_c_net_1_1_j_c_net.html">JCNet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_net_1_1_j_c_net.html#afec8f8231f05a9ba124b3976f01308cb">shared</a> ()</td></tr>
<tr class="separator:afec8f8231f05a9ba124b3976f01308cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
属性</h2></td></tr>
<tr class="memitem:af0217e0cbb41f653d28164cb8bbd3593"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_net_1_1_j_c_net.html#af0217e0cbb41f653d28164cb8bbd3593">netType</a><code> [get]</code></td></tr>
<tr class="separator:af0217e0cbb41f653d28164cb8bbd3593"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>网络类 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="af233724f6671f5ba02ad4c39acad57e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af233724f6671f5ba02ad4c39acad57e6">&#9670;&nbsp;</a></span>InternetGetConnectedState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool JCSDK.JCNet.JCNet.InternetGetConnectedState </td>
          <td>(</td>
          <td class="paramtype">ref int&#160;</td>
          <td class="paramname"><em>lpdwFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dwReserved</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>网络连接状态变化回调 </p>

</div>
</div>
<a id="afec8f8231f05a9ba124b3976f01308cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afec8f8231f05a9ba124b3976f01308cb">&#9670;&nbsp;</a></span>shared()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_j_c_s_d_k_1_1_j_c_net_1_1_j_c_net.html">JCNet</a> JCSDK.JCNet.JCNet.shared </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>单例获取 <a class="el" href="class_j_c_s_d_k_1_1_j_c_net_1_1_j_c_net.html">JCNet</a> 实例 </p>

</div>
</div>
<a id="a860672e5d4d38b4f89677d787d5a3d1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a860672e5d4d38b4f89677d787d5a3d1d">&#9670;&nbsp;</a></span>updateNetType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void JCSDK.JCNet.JCNet.updateNetType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>状态更新 </p>

</div>
</div>
<h2 class="groupheader">属性说明</h2>
<a id="af0217e0cbb41f653d28164cb8bbd3593"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0217e0cbb41f653d28164cb8bbd3593">&#9670;&nbsp;</a></span>netType</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int JCSDK.JCNet.JCNet.netType</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>网络类型 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>JCSDK/JCSDK/JCNet/JCNet.cs</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
